#!/bin/sh

# Add special group gnunetdns for controlling access to "gnunet-helper-dns".
addgroup -S gnunetdns 2>/dev/null

# Add system user/group gnunet for system services
addgroup -S gnunet 2>/dev/null
adduser -S -D -h /var/lib/gnunet -s /sbin/nologin gnunet 2>/dev/null
adduser gnunet gnunet

exit 0
